a = [1,"","没课"]
b = [2,"下午","ai应用 中西方哲学 篮球"]
c = [3,"上午","毛概实践 大英"]
e = [4,"下午","网站运营","晚上","API"]
f = [5,"上午","大英 PYTHIN","下午","毛概"]
riqi = input("请输入星期几的阿拉伯数字")
riqi = int(riqi)
shijian = input("请输入上下午的字符串")
if riqi == a[0]:
    print("没课")
elif riqi == b[0]:
    if shijian == b[1]:
       print(b[2])
    else:
        print("没课")
elif riqi == c[0]:
    if shijian == c[1]:
        print(c[2])
    else:
        print("没课")
elif riqi == e[0]:
    if shijian == e[1]:
       print(e[2])
    elif shijian == e[3]:
        print(e[4])
    else:
        print("没课")
elif riqi == f[0]:
    if shijian == f[1]:
        print(f[2])
    elif shijian == f[3]:
        print(f[4])
    else:
        print("没课")
else:
    print("没课")
